<?php

function smarty_block_makelink($params, $content, &$smarty){
    if(isset($content)){
		if(strpos($content, 'http')===0) return '<a href="'.$content.'">'.$content.'</a>';
		else return '<a href="http://'.$content.'">'.$content.'</a>';
	}
}
